home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 2: PC
/
frozenfish_august_1995.bin
/
bbs
/
d09xx
/
d0947.lha
/
NewTool
/
Install NewTool
< prev
next >
Wrap
Text File
|
1993-12-20
|
2KB
|
80 lines
; Installation script for NewTool
(transcript "Installing NewTool...")
(copylib
(prompt "Install WhatIs library.")
(help @copylib-help)
(source "LIBS/whatis.library")
(dest "libs:")
(confirm)
)
(copylib
(prompt "Install ReqTools library.")
(help @copylib-help)
(source "LIBS/ReqTools.library")
(dest "libs:")
(confirm)
)
(set name
(askdir
(prompt "Install NewTool where?")
(help @askdir-help)
(default "C:")
)
)
(copyfiles
(source "NewTool")
(dest name)
)
(set prefs
(askchoice
(prompt "Install NewTool prefs where?")
(help @askchoice-help)
(choices "ENV: and ENVARC:" "S" )
(default 0)
)
)
(if (= prefs 0) ; conditional test
(
(copyfiles
(source "NewTool.prefs")
(dest "ENV:")
)
(copyfiles
(source "NewTool.prefs")
(dest "ENVARC:")
)
)
(copyfiles
(source "NewTool.prefs")
(dest "S:")
)
) ; end of if
(set what
(askbool
(prompt "Copy FileTypes to S:")
(help "It's up to YOU.")
(choices "Yes" "No")
(default 0)
)
)
(if (= what 1) ; conditional test
(copyfiles
(source "FileTypes")
(dest "S:")
)
)
(set @default-dest name)
(exit)